
using UnityEngine;

public class Room : RoomInfo
{
	public new int playerCount
	{
		get
		{
			return 0;
		}
	}

	public new string name
	{
		get
		{
			return nameField;
		}
		internal set
		{
			nameField = value;
		}
	}

	public new int maxPlayers
	{
		get
		{
			return maxPlayersField;
		}
		set
		{

			maxPlayersField = (byte)value;
		}
	}

	public new bool open
	{
		get
		{
			return openField;
		}
		set
		{

			openField = value;
		}
	}

	public new bool visible
	{
		get
		{
			return visibleField;
		}
		set
		{

			visibleField = value;
		}
	}

	public string[] propertiesListedInLobby
	{
		get;
		private set;
	}

	/* public bool autoCleanUp => autoCleanUpField;

	internal Room(string roomName, RoomOptions options)
		: base(roomName, null)
	{
		if (options == null)
		{
			options = new RoomOptions();
		}
		visibleField = options.isVisible;
		openField = options.isOpen;
		maxPlayersField = (byte)options.maxPlayers;
		autoCleanUpField = options.cleanupCacheOnLeave;
		CacheProperties(options.customRoomProperties);
		propertiesListedInLobby = options.customRoomPropertiesForLobby;
	} */


}
